package com.njym.java.security.app.mapper;

import com.njym.java.security.app.entity.TaskUserRelevance;
import com.njym.java.security.app.entity.TaskUserRelevanceVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-02 16:13:26
 */

public interface TaskUserRelevanceMapper extends Mapper<TaskUserRelevance> {

    List<TaskUserRelevanceVo> getTaskByfid(@Param("fid") int fid);

    TaskUserRelevance getTaskUser(@Param("fid") int fid,@Param("taskId") Integer taskId);

    TaskUserRelevanceVo getTaskByid(@Param("id") int id,@Param("fid") int fid);

    List<TaskUserRelevanceVo> getTaskBymod(int id);
}
